home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
graphics
/
fxforge
/
spotlight
< prev
next >
Wrap
Text File
|
1999-06-15
|
558b
|
26 lines
Category: Filter Factory Gallery A
Title: Spotlight...
Author: Greg Schorno
Copyright: Copyright 1996 (c) Greg Schorno
ctl[0]: Center X
ctl[1]: Center Y
ctl[2]: Size
ctl[3]: Focus
ctl[4]: Inner Grain
ctl[5]: Outer Grain
ctl[6]:
ctl[7]:
val[0]: 128
val[1]: 127
val[2]: 93
val[3]: 151
val[4]: 228
val[5]: 48
val[6]: 0
val[7]: 0
R:put(c2m(x-val(0,0,X),y-val(1,0,Y)),0),put(val(2,0,M),1),put(get(1)+val(3,M,0),2),put(get(0)>get(2)?ctl(5):get(0)<get(1)?ctl(4):scl(get(0),get(1),get(2),ctl(4),ctl(5)),6),r*get(6)/128
G:g*get(6)/128
B:b*get(6)/128
A:a*get(6)/128